﻿@page "/Bars/Spacing"
@using LiveChartsCore.SkiaSharpView.Blazor
@using LiveChartsCore;
@using LiveChartsCore.SkiaSharpView;

<CartesianChart
    Series="@series">
</CartesianChart>

@code {
    private static double[] values = new double[] { 20, 50, 40, 20, 40, 30, 50, 20, 50, 40 };

    private ISeries[] series = new ISeries[]
    {
        new ColumnSeries<double>
        {
            Values = values,
            Padding = 0,
            MaxBarWidth = 99999
        }
    };
}
